package com.zhiying.shiro;

/**
 * 拦截返回的数据格式
 */
public enum ContentType {
    texthtml(0), textxml(1), textjson(2);

    private int index;

    ContentType(int index){
        this.index = index;
    }

    public int getIndex() {
        return index;
    }
}
